<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="description" content=""/>
    <meta name="author" content=""/>
    <title>Chương trình bình chọn sự kiện trực tiếp trên sóng VTV</title>
    <link type="image/x-icon" rel="shortcut icon" href="public/images/favicon.ico" />
    <!-- Bootstrap Core CSS -->
    <link href="<?=$baseurl?>public/css/bootstrap.min.css" rel="stylesheet"/>
    <!-- MetisMenu CSS -->
    <link href="<?=$baseurl?>public/css/plugins/metisMenu/metisMenu.min.css" rel="stylesheet"/>
    <!-- Timeline CSS -->
    <link href="<?=$baseurl?>public/css/plugins/timeline.css" rel="stylesheet"/>
    <!-- Custom CSS -->
    <link href="<?=$baseurl?>public/css/sb-admin-2.css" rel="stylesheet"/>
    <!-- Morris Charts CSS -->
    <link href="<?=$baseurl?>public/css/plugins/morris.css" rel="stylesheet"/>
    <!-- Custom Fonts -->
    <link href="<?=$baseurl?>public/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <!-- Config CSS -->
    <link href="<?=$baseurl?>public/css/custom.css" rel="stylesheet"/>
    <link href="<?=$baseurl?>public/css/style.css" rel="stylesheet"/>
    <script src="<?=$baseurl?>public/js/script.js"></script>
    <!-- jQuery Version 1.11.0 -->
    <script src="<?=$baseurl?>public/js/jquery-1.9.1.min.js"></script>
    <!-- jAlert -->
    <link href="<?php echo $baseurl?>public/css/jquery.alerts.css" rel="stylesheet"/>
    <script src="<?php echo $baseurl?>public/js/jquery.alerts.js"></script>
    <script>
        var $ = jQuery.noConflict();
        var baseUrl = '<?php echo $baseurl?>';
    </script>
</head>
<body>
    <div id="wrapper">
        <!-- Navigation 6771B5-->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0;background: #428bca">
           <?php $this->load->view('template/block/navbar');?>
		   <?php $this->load->view('template/block/sidebar');?>
        </nav>
        <div id="page-wrapper">
            <?php $this->load->view("template/".($controller ? $controller : 'index')."/".($action ? $action : 'index'),'');?>
        </div>
        <!-- /#page-wrapper -->
    </div>
    <!-- /#wrapper -->
    <!-- Bootstrap Core JavaScript -->
    <script src="<?=$baseurl?>public/js/bootstrap.min.js"></script>
    <!-- Metis Menu Plugin JavaScript -->
    <script src="<?=$baseurl?>public/js/plugins/metisMenu/metisMenu.min.js"></script>
    <!-- Morris Charts JavaScript -->
    <script src="<?=$baseurl?>public/js/plugins/morris/raphael.min.js"></script>
    <script src="<?=$baseurl?>public/js/plugins/morris/morris.min.js"></script>
    <script src="<?=$baseurl?>public/js/plugins/morris/morris-data.js"></script>
    <!-- DataTables JavaScript -->
    <script src="<?=$baseurl?>public/js/plugins/dataTables/jquery.dataTables.js"></script>
    <script src="<?=$baseurl?>public/js/plugins/dataTables/dataTables.bootstrap.js"></script>
    <!-- Custom Theme JavaScript -->
    <script src="<?=$baseurl?>public/js/sb-admin-2.js"></script>
</body>
</html>
